// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import "../delegates"
import "../models"

GridView {
    id: yearJobs
    property int time: 0
    signal addJob()

    width: 110
    height: 110

    cellWidth: 160
    cellHeight: 170

    model: yearJobModel
    delegate: MounthOfYear {
        onAddJob: {
            console.log("on add job")
            yearJobs.time = time
            yearJobs.addJob()
        }
    }

    highlight: Rectangle {}

}
